package com.ysd.service.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ysd.service.entity.Weather;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;


/**
 * weather表 dao
 */
@Mapper
@Component
public interface WeatherDao extends BaseMapper<Weather> {

    /**
     * 清空表数据
     */
    @Update("TRUNCATE TABLE weather")
    void deleteWeatherTemp();

}
